﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace YAMN_Cinemas.Presentation
{
    public partial class Main1 : System.Web.UI.MasterPage
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        protected void LoginView1_ViewChanged(object sender, EventArgs e)
        {

        }

        //Welcome Page
        protected void LinkButton1_Click(object sender, EventArgs e)
        {
            string username = HttpContext.Current.User.Identity.Name.ToString();
            string url = "WelcomePage1.aspx?username=" + username;
            Response.Redirect(url);

        }

        //Book Tickets

        protected void LinkButton2_Click(object sender, EventArgs e)
        {
            string username = HttpContext.Current.User.Identity.Name.ToString();
            string url = "User_SelectMovie.aspx?username=" + username;
            Response.Redirect(url);

        }
        //About Us
        protected void LinkButton3_Click(object sender, EventArgs e)
        {
            string username = HttpContext.Current.User.Identity.Name.ToString();
            string url = "AboutUs.aspx?username=" + username;
            Response.Redirect(url);


        }
        //Contact Us
        protected void LinkButton4_Click(object sender, EventArgs e)
        {
            string username = HttpContext.Current.User.Identity.Name.ToString();
            string url = "ContactUs.aspx?username=" + username;
            Response.Redirect(url);

        }

        protected void btn_Home_Click(object sender, EventArgs e)
        {
            //Response.Redirect("WelcomePage1.aspx");

        }

        protected void btn_BookTickets_Click(object sender, EventArgs e)
        {
           // Response.Redirect("User_SelectMovie.aspx");

        }

        protected void btn_AboutUs_Click(object sender, EventArgs e)
        {
            //Response.Redirect("AboutUs.aspx");

        }

        protected void btn_ContactUs_Click(object sender, EventArgs e)
        {
           // Response.Redirect("ContactUs.aspx");

        }

        protected void btn_Register_Click(object sender, EventArgs e)
        {
            //Response.Redirect("Registrationform1.aspx");

        }

        protected void btn_Home_Click1(object sender, EventArgs e)
        {

        }



    }
}